﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CW.Component.Tools;
using CW.Demo.Core;
using CW.Demo.Site.Models;

namespace CW.Demo.Site
{    
    public interface IAccountSiteContract:IAccountService
    {
        /// <summary>
        ///     用户登录
        /// </summary>
        /// <param name="model">登录模型信息</param>
        /// <returns>业务操作结果</returns>
        OperationResult Login(LoginModel model);

        /// <summary>
        ///     用户退出
        /// </summary>
        void Logout();
    }
}
